aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/invoice/[id]/+page.server.js
blob: 3adba31ab8746cde975be5bfa420f5f5f5ad3ec3 (plain) (blame)
1
2
3
4
5
6
7
import { get } from '$lib/utils';

export async function load({ params }) {
	console.log('PARAMS', params);
	let { id } = params;
	return { id, invoice: await get(`/invoice?uuid=${id}`) };
}